package com.ruoyi.repairCar.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 维修记录对象 maintenance_record
 * 
 * @author djt
 * @date 2025-03-19
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MaintenanceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维修记录ID */
    private Long recordId;

    /** 维修单号 */
    @Excel(name = "维修单号")
    private String maintenanceNo;

    /** 维修方式（维修方式字典表） */
    @Excel(name = "维修方式", readConverterExp = "维=修方式字典表")
    private Long maintenanceMethod;

    /** 预约日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentDate;

    /** 提交日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitDate;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long vehicleId;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long memberId;

    /** 整车照片 */
    @Excel(name = "整车照片")
    private String vehicleImage;

    /** 维修部位照片1 */
    @Excel(name = "维修部位照片1")
    private String partImage1;

    /** 维修部位照片2 */
    @Excel(name = "维修部位照片2")
    private String partImage2;

    /** 取车位置 */
    @Excel(name = "取车位置")
    private String pickupLocation;

    /** 记录状态（状态记录表字典表） */
    @Excel(name = "记录状态", readConverterExp = "状=态记录表字典表")
    private Long recordStatus;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String ext1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String ext2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String ext3;

    /** 扩展字段4 */
    private String ext4;

    /** 扩展字段5 */
    private String ext5;

    private Member member;
}
